package com.zcb.agrimarket.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zcb.agrimarket.constant.MessageConstant;
import com.zcb.agrimarket.mapper.UserMapper;
import com.zcb.agrimarket.pojo.Lab;
import com.zcb.agrimarket.service.LabService;
import com.zcb.agrimarket.mapper.LabMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author KarrySmile
* @description 针对表【lab(实验室表)】的数据库操作Service实现
* @createDate 2024-04-05 17:06:44
*/
@Service
public class LabServiceImpl extends ServiceImpl<LabMapper, Lab>
    implements LabService{

    @Autowired
    LabMapper labMapper;

    @Override
    public boolean updateRepairState(long id, int repairState) {
        return labMapper.updateRepairState(id,repairState);
    }
}




